home *** CD-ROM | disk | FTP | other *** search
- (*
- File: MoreSetup.prefix
-
- Contains: Sets up conditions for MoreIsBetter.
-
- Written by: Quinn
-
- Copyright: Copyright © 1999 by Apple Computer, Inc., All Rights Reserved.
-
- You may incorporate this Apple sample source code into your program(s) without
- restriction. This Apple sample source code has been provided "AS IS" and the
- responsibility for its operation is yours. You are not permitted to redistribute
- this Apple sample source code as "Apple sample source code" after having made
- changes. If you're going to re-distribute the source, we require that you make
- it clear in the source that the code was descended from Apple sample source
- code, but that you've made changes.
-
- Change History (most recent first):
-
- *)
-
- (*
- IMPORTANT:
-
- This file is used as the Pascal prefix file, as specified "Pascal Language"
- preferences panel. It only contains compiler variable definitions. These
- have to be in a prefix file because of the way the Pascal compiler works.
-
- Other global definitions go into the "MoreSetup.p" unit, which code must
- explicitly use, just like C code has to explicitly include "MoreSetup.h".
-
- *)
-
- (*
- // We never want to use old names or locations.
- // Since these settings must be consistent all the way through
- // a compilation unit, and since we don't want to silently
- // change them out from under a developer who uses a prefix
- // file (C/C++ panel of Target Settings), we simply complain
- // if they are already set in a way we don't like.
- *)
-
- {$ifc undefined OLDROUTINELOCATIONS}
- {$setc OLDROUTINELOCATIONS := false}
- {$elsec}
- {$ifc OLDROUTINELOCATIONS}
- ••• OLDROUTINELOCATIONS must be FALSE when compiling MoreIsBetter. •••
- {$endc}
- {$endc}
-
- {$ifc undefined OLDROUTINENAMES}
- {$setc OLDROUTINENAMES := false}
- {$elsec}
- {$ifc OLDROUTINENAMES}
- ••• OLDROUTINENAMES must be FALSE when compiling MoreIsBetter. •••
- {$endc}
- {$endc}
-
- (*
- // We usually want asserions and other debugging code
- // turned on, but you can turn it all off if you like
- // by setting MORE_DEBUG to 0.
- *)
-
- {$ifc undefined MORE_DEBUG}
- {$setc MORE_DEBUG := TRUE}
- {$endc}
-